package com.gsezone;

import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;

public class MyString {

	public static void main(String[] args) throws UnsupportedEncodingException {
		
		System.out.println(Charset.defaultCharset());

		String string = "AAA";
		System.out.println(string.replace('A', 'B'));

		String s1 = "ł";

		Utils.showString(s1);
		
		byte[] bytes = s1.getBytes();
		
		String s2 = new String(bytes, "UTF-16");
		
		System.out.println(s2);

	}

}
